package com.creating.mict.service;


import java.util.List;

import com.creating.mict.domain.Patient;
import com.creating.mict.domain.PatientRule;
import com.creating.mict.domain.PatientSetting;
import com.creating.mict.domain.XyjRecord;


public interface IXyjService {

	/**
	 * 
	* @Title: queryPatientXyj 
	* @Description: 获取血压计签约患者及其测量结果
	* @param @param fbtime
	* @param @param fetime
	* @param @param fstate
	* @param @param fkeywords
	* @param @return 
	* @return List<XyjRecord>    返回类型 
	* @throws
	 */
	public List<XyjRecord> queryPatientXyj(String loginName, String foffice, String fbtime, String fetime, String fstate, String fkeywords, String ftakeBack);	
	

	
	/**
	 * 
	* @Title: produceXyjToChart 
	* @Description: 获取血压及心率测量数据变化曲线
	* @param @param hospitalName
	* @param @param fbh
	* @param @param fquery_str
	* @param @param ri
	* @param @param ftitle
	* @param @return 
	* @return String    返回类型 
	* @throws
	 */
	public String produceXyjToChart(String fbtime, String fetime, String fphone1, String fname);
	
	
	/**
	 * 
	* @Title: signPatientRule 
	* @Description: 保存患者设置
	* @param @param pr
	* @param @return 
	* @return boolean    返回类型 
	* @throws
	 */
	public boolean signPatientRule(PatientRule pr);
	
	/**
	 * 
	* @Title: saveXyjOfSetting 
	* @Description: 保存血压计设置信息 
	* @param @param fssy_low
	* @param @param fssy_high
	* @param @param fszy_low
	* @param @param fszy_high
	* @param @param fxl_low
	* @param @param fxl_high
	* @param @param fmyc_low
	* @param @param fmyc_high
	* @param @return 
	* @return boolean    返回类型 
	* @throws
	 */
	public boolean saveXyjOfSetting(String fphone, String fssy_low, String fssy_high, String fszy_low, String fszy_high, String fxl_low, String fxl_high, String fmyc_low, String fmyc_high);
	
	/**
	 * 
	* @Title: getPatientSettingInfoByPhone 
	* @Description: 获取患者设置信息 
	* @param @param fphone
	* @param @return 
	* @return PatientSetting    返回类型 
	* @throws
	 */
	public PatientSetting getPatientSettingInfoByPhone(String fphone);
	
	/**
	 * 
	* @Title: produceXyjToChartByPerson 
	* @Description: 外网查询 获取血压及心率测量数据变化曲线
	* @param @param fphone1
	* @param @param fstate
	* @param @return 
	* @return String    返回类型 
	* @throws
	 */
	public String produceXyjToChartByPerson(String fphone1, String fstate);
	
}
